package cate.game.role.pvp.teampvp.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBTeamPvp;

public class TeamPvpGodListReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new TeamPvpGodListResp(game.pvp.teamPvp.loadGods()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTeamPvp.GOD_LIST_REQ;
    }
}
